/**
 * @Title: GroupService.java
 * @Package com.kaver.sso.service
 * @author roc
 * @date Aug 9, 2021 10:08:23 AM
 * @version V1.0
 * @copyright kaver
 */
package com.kaver.sso.service;

import java.util.List;

import com.kaver.sso.def.dto.GoupDto;
import com.kaver.sso.def.req.AddGroupReq;
import com.kaver.sso.def.req.DelGroupReq;
import com.kaver.sso.def.req.GroupListReq;
import com.kaver.sso.def.req.GroupPageListReq;
import com.kaver.sso.def.req.UpdateGroupReq;
import com.kaver.sso.def.resp.PageResp;

/**
 * @ClassName: GroupService
 * @Description: 分组
 * @author roc
 * @date Aug 9, 2021 10:08:23 AM
 * 
 */
 public interface GroupService {
    /**
     * 添加权限组
     */
     void addGroup(AddGroupReq req);

    /**
     * 更新权限组
     */
     void updateGroup(UpdateGroupReq req);

    /**
     * 删除权限组
     */
     void delGroup(DelGroupReq req);

    /**
     * 权限组分页列表
     */
     PageResp<GoupDto> groupPageList(GroupPageListReq req);

    /**
     * 权限组列表
     */
     List<GoupDto> groupList(GroupListReq req);
}
